// pages/home/search/components/designer-item/index.js
const app = getApp()
Component({
  properties: {
    item: {
      type: Object,
      value: null
    }
  },
  lifetimes: {
    attached() {
      if (this.properties.item) {
        this.setData({
          itemData: this.properties.item
        })
      }
    }
  },
  data: {
    IMGBASEURL: app.globalData.IMGBASEURL,
    itemData: null
  },

  /**
   * 组件的方法列表
   */
  methods: {
    
  }
})